package com.kwedding.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kwedding.bean.TB_BrandSorts;

public interface TB_BrandSortsMapper {

	TB_BrandSorts selectByPrimaryKey(@Param("sortsId") Long sortsId);

	// 添加
	int insert(TB_BrandSorts tb_BrandSorts);

	// 列表
	List<TB_BrandSorts> getBrandSortsList(@Param("status") Boolean status, @Param("searchName") String searchName);

	// 修改
	int updateSelectivebyPrimaryKey(TB_BrandSorts tb_BrandSorts);
	
	//查询
	TB_BrandSorts  selectByName(@Param("name")String name);
}
